package com.aihna.common.pay.domain.vo;

import com.aihna.common.pay.domain.SysPaymentApp;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 支付应用视图对象 sys_payment_app
 *
 * @author Joseph.Chen
 * @date 2024-03-09
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysPaymentApp.class)
public class SysPaymentAppVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 支付应用id
     */
    @ExcelProperty(value = "支付应用id")
    private Long id;

    /**
     * 应用名
     */
    @ExcelProperty(value = "应用名")
    private String name;

    /**
     * 支付结果的回调地址
     */
    @ExcelProperty(value = "支付结果的回调地址")
    private String orderNotifyUrl;

    /**
     * 退款结果的回调地址
     */
    @ExcelProperty(value = "退款结果的回调地址")
    private String refundNotifyUrl;

    /**
     * 转账结果的回调地址
     */
    @ExcelProperty(value = "转账结果的回调地址")
    private String transferNotifyUrl;

    /**
     * 1为正常，0为禁止
     */
    @ExcelProperty(value = "1为正常，0为禁止")
    private Integer status;

    /**
     * 说明
     */
    @ExcelProperty(value = "说明")
    private String description;

    private List<String> channelCodes;
}
